.class Lcom/estrongs/android/pop/app/compress/a$b;
.super Ljava/lang/Object;
.source "ArchiveExtractEditDialog.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/compress/a;->c()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/view/View;

.field final synthetic b:Lcom/estrongs/android/pop/app/compress/a;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/compress/a;Landroid/view/View;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/compress/a$b;->a:Landroid/view/View;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object p1

    instance-of p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p1, :cond_1

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 3
    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 4
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p2

    const-string v0, "compress_lb"

    const-string v1, "sd_unzip"

    invoke-virtual {p2, v0, v1}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    :cond_0
    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->L0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/statistics/c;->c(Landroid/content/Context;)V

    .line 7
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->b(Lcom/estrongs/android/pop/app/compress/a;)I

    move-result p1

    const/4 p2, 0x3

    if-ne p1, p2, :cond_3

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->i(Lcom/estrongs/android/pop/app/compress/a;)Landroid/widget/EditText;

    move-result-object p2

    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object p2

    invoke-static {p1, p2}, Lcom/estrongs/android/pop/app/compress/a;->c(Lcom/estrongs/android/pop/app/compress/a;Ljava/lang/String;)Ljava/lang/String;

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p1

    const/4 p2, 0x1

    const/4 v0, 0x0

    if-ge p1, p2, :cond_2

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f1106b5

    invoke-virtual {p1, p2}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p1

    invoke-static {p1, v0}, Lcom/estrongs/android/ui/view/d;->a(Ljava/lang/CharSequence;I)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->i(Lcom/estrongs/android/pop/app/compress/a;)Landroid/widget/EditText;

    move-result-object p1

    const-string p2, "/sdcard/"

    invoke-virtual {p1, p2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    return-void

    .line 12
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/fs/util/f;->b(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_3

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object p1

    const p2, 0x7f1106a8

    invoke-virtual {p1, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1, v0}, Lcom/estrongs/android/ui/view/d;->a(Ljava/lang/CharSequence;I)V

    return-void

    .line 14
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {p2}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object p2

    new-instance v0, Lcom/estrongs/android/pop/app/compress/a$b$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/compress/a$b$a;-><init>(Lcom/estrongs/android/pop/app/compress/a$b;)V

    const-string v1, "s1"

    invoke-static {v1, p1, p2, v0}, Lcom/estrongs/fs/impl/local/a;->a(Ljava/lang/String;Landroid/content/Context;Ljava/lang/String;Ljava/lang/Runnable;)V

    return-void
.end method
